package com.koron.order.overhaul.mapper;

import com.koron.order.overhaul.bean.entity.OverhaulOrderMajorFormBean;
import com.koron.order.overhaul.bean.query.OverhaulOrderMajorFormQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (OverhaulOrderMajorFormMapper)表数据库访问层
 *
 * @author twcao
 * @since 2021-09-29 09:49:32
 */
public interface OverhaulOrderMajorFormMapper {

    OverhaulOrderMajorFormBean queryById(String id);

    List<OverhaulOrderMajorFormBean> queryList(OverhaulOrderMajorFormQuery query);

    int saveOrUpdate(List<OverhaulOrderMajorFormBean> beans);

    int deleteByOrderId(@Param("orderId") String orderId);

    int hiddenByOrderId(@Param("orderId") String orderId);

}
